﻿using System;
using System.Web;

namespace FBGraph.Web
{
    /// <summary>Defines a wrapper for an HTTP response.</summary>
    public interface IHttpResponseWrapper
    {
        /// <summary>Gets the response cookie collection.</summary>
        HttpCookieCollection Cookies { get; }

        /// <summary>Updates an existing cookie in the cookie collection.</summary>
        /// <param name="cookie">The cookie in the collection to be updated.</param>
        void SetCookie(HttpCookie cookie);
    }
}